package com.wanyangproject.androidlearning.designMode.strategy;

public class BigYellowDuck extends Duck {


    public BigYellowDuck() {
        setFly(new FlyStrategyUnable());
        setTweet(new TweetUnable());
    }

    @Override
    void display() {
        System.out.println("我是黄色的。。。");
    }

    @Override
    void name() {
        System.out.println("我是大黄鸭。。。");
    }

}
